package com.canaan.business.common.enums.basic;

public enum WhetherEnum {
    Y(1, "是"),
    N(0, "否");

    private final Integer code;
    private final String message;

    WhetherEnum(Integer code, String info)
    {
        this.code = code;
        this.message = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
